package com.nbjtjc.safe.mapper.danger;

import com.nbjtjc.safe.model.danger.DangerInspectTableLabel;
import com.nbjtjc.util.MyMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface DangerInspectTableLabelMapper extends MyMapper<DangerInspectTableLabel> {

    @Select("select label from danger_inspect_table_label where id=#{id}")
    String findNameById(@Param("id") int id);
}